package cn.com.basespringboot.mapper;

import cn.com.basespringboot.bean.User;
import cn.com.basespringboot.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserDao {
    /**
     * 添加用户
     * @param user
     */
    int addUser(User user) ;

    /**
     * 获取用户
     * @param name
     * @return
     */
    UserVo getUserByName(String name);
}
